<?php  if ( ! defined('ACCESS')) exit('No direct script access allowed');
	require_once('Json.php');
	$requestway = getenv('ENGINE_ACC');
	if($requestway=='local'){
		$allowip = '127.0.0.1';
	}elseif($requestway=='other'){
		$allowip = '10.2.3.23';
	}
	$app_env = getenv('APP_ENV');
	if($app_env=='development'){
		$dbhost = 'localhost';
		$dbuser = 'root';
		$dbpass = 'root';
		$dbname = 'ilkom_db';
	}elseif($app_env == 'production'){
		$dbhost = 'localhost';
		$dbuser = 'peta';
		$dbpass = 'rahasia';
		$dbname = 'ilkom_db';
	}
?>